.w2 {
  width: 1300px;
  margin: 0 auto;
}
body {
  background-color: rgb(245, 245, 245);
}
table {
  text-align: center;
  color: rgb(102, 102, 102);
  background-color: #fff;
  font-size: 16px;
  background-color: #fff;
}

table input {
  width: 50px;
  background-color: #e5e5e5;
  text-align: center;
}
table em {
  cursor: pointer;
}
/* 渲染数据 */
.home-main {
  width: 1300px;
  margin: 0 auto;
  height: 100%;
  background-color: rgb(245, 245, 245);
  padding: 30px 0;
}
.container .box-panel {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.box-panel .box-item {
  /* margin: 0 10px; */
  display: block;
  width: 220px;
  height: 300px;
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  margin-bottom: 20px;
  padding: 0 10px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.box-panel .box-item:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.box-panel .box-item .is_hot {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 30px;
  height: 20px;
  font-size: 12px;
  text-align: center;
  color: #fff;
  background-color: red;
  border-radius: 8px;
  border: 1px solid;
}
.box-panel .box-item .is_sale {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 30px;
  height: 20px;
  font-size: 12px;
  text-align: center;
  color: #fff;
  background-color: red;
  border-radius: 8px;
  border: 1px solid;
}
.box-panel .box-item img {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
}
.box-panel .box-item .title {
  text-align: center;
  color: #b0b0b0;
  width: 200px;
  height: 50px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 设置显示的行数 */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.box-panel .box-item .price {
  /* 文字横线 */
  text-decoration: line-through;
  color: #b0b0b0;
  font-size: 14px;
}
.box-panel .box-item .current_price {
  color: red;
  font-size: 18px;
}
